<% form_tag({:controller => :settings, :action => "update_privacy", :class => "nf settings", :method => "post"},
  :method => :post, :class => "nf settings") do -%>
  <p>
    <label for="name" class="label_input">Old Password: </label>
    <%= password_field_tag "old_password", '', :size => 40, :value => "" -%>
  </p>
  <p>
    <label for="name" class="label_input">New Password: </label>
    <%= password_field_tag "new_password", '', :size => 40 -%>
  </p>
  <p>
    <label for="nick_name" class="label_input">Repeat Password: </label>
    <%= password_field_tag "new_password_confirm", '', :size => 40, :value => "" -%>
  </p>
  <p>
    <label for="sex" class="label_input">&nbsp;</label>
    <input type="checkbox" name="privacy" id="privacy" <%= "checked=\"checked\"" if @user.privacy == 'T' -%>>
    Only friends can see my messages.
  </p>
  <p class="act">
    <%= submit_tag "Update", :class => "formbutton" -%>
  </p>
<% end -%>